package com.aaa.service.impl;

import com.aaa.dao.L_CategoryDao;
import com.aaa.service.L_CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class L_CategoryServiceImpl implements L_CategoryService {
    @Autowired
    private L_CategoryDao dao;

    @Override
    public List<Map> getAll(Map map) {
        return  dao.getAll(map);
    }

    @Override
    public Integer getCount(Map map) {
        return dao.getCount(map);
    }

    @Override
    public void on(Map map) {
        dao.on(map);
    }

    @Override
    public void delete(Map map) {
        dao.delete(map);
    }
}
